package backend.project.gym_management.pojo.dto;

import backend.project.gym_management.pojo.vo.AdminQueryUserVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserUpdateDTO extends AdminUpdate {
    @ApiModelProperty("用户ID")
    @NotNull(message = "用户ID不能为空")
    private Long uid;

    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("性别")
    private Character gender;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("会员等级")
    private AdminQueryUserVO.Title title;
}
